import Vue from 'vue'
import VueRouter from 'vue-router'
import HomePage from '../components/Home/HomePage'
import OutLeave from '../components/OutLeave/OutLeave.vue'
import Check from '../components/Check/Check.vue'
import Secret from '../components/Secret/Secret.vue'

Vue.use(VueRouter)

const routes = [
  {
    path: '/',
    name: 'HomePage',
    component: HomePage
  },
	{
		path: '/OutLeave',
		name: 'OutLeave',
		component: OutLeave
	},
	{
		path: '/Check',
		name: 'Check',
		component: Check
	},
	{
		path: '/Secret',
		name: 'Secret',
		component: Secret
	}
]

const router = new VueRouter({
  mode: 'hash',
  base: process.env.BASE_URL,
  routes
})

export default router
